package com.yx.service.impl;

import com.yx.dao.PersonMapper;
import com.yx.entity.Person;
import com.yx.service.PersonService;
import com.yx.util.MybatisUtils;

import java.util.List;

/**
 * @Classname PersonService
 * @Description TODO:
 * @Date 2021/05/15 08:40
 * @Created by yx
 */
public class PersonServiceImpl implements PersonService {
    private PersonMapper mapper = MybatisUtils.getMapper(PersonMapper.class);
    @Override
    public List<Person> selectAll() {
        List<Person> personList = mapper.selectAll();
        return null;
    }

    @Override
    public Person login(String username, String password) {
        return null;
    }

    @Override
    public Integer insertPerson(Person person) {
        return null;
    }
}
